package com.sxfq.loansupermarket.backsystem.modular.basicData.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.OutpatientManagementInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.SearchOutpatientManagementInfo;

import java.util.List;
import java.util.Map;

/**
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IOutpatientManagementService {
    List<OutpatientManagementInfo> selectPageListByQueryGetMap(Page<OutpatientManagementInfo> page, SearchOutpatientManagementInfo info);

    OutpatientManagementInfo selectOneById(String outpatientManagementInfoId);

    int insert(OutpatientManagementInfo info);

    void delete(String id);

    int update(OutpatientManagementInfo info);

    List<Map<String,Object>>  list();

    List<Map<String,Object>>  lists(String userName);
}